<template>
  <div class="my">
    <p>{{m}}</p>
    <!-- <h3 @click="$emit( 'mmFn',6666 ) "> 传值 </h3> -->
    <h4 @click="send"> 传值 </h4>
  </div>
</template>

<script setup>
import { defineProps, defineEmits } from "vue";
defineProps(['m'])
const emits = defineEmits(['mmFn'])
const send=()=>{
  emits("mmFn",66666)
}
</script>

<style>

</style>

